package layers;

import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;
import javax.swing.ImageIcon;

import mapelements.Renderer;

public final class GroundRenderer extends Renderer{

	private static final long serialVersionUID = 4335879639518944129L;

	private static BufferedImage image;
	
	static{
		try {
			image=ImageIO.read(new File("fs_test/layers/ground.png"));
		} catch (IOException error) {
			error.printStackTrace();
		}
	}
	
	@Override
	public BufferedImage drawRenderer(Graphics g) {
		return image;
	}

}
